package com.hundun.hddeal.service;

import com.github.pagehelper.PageInfo;
import com.hundun.hddeal.entity.Record;
import com.hundun.hddeal.response.Result;

import java.util.Date;

public interface RecordService {


    Result deleteByPrimaryKey(Integer id);

    Result insertSelective(Record record);

    Result<Record> selectByPrimaryKey(Integer id);

    Result updateByPrimaryKeySelective(Record record);

    Result<PageInfo<Record>> selectAll(Integer page, Integer size, String adId, Byte type, Date startTime,Date endTime,
    String content,String gzhName,String thisMonth,String lastMonth);
}
